package com.zycfc.zsf.boot.job.api.domain;

import com.dangdang.ddframe.job.api.*;
import java.util.*;

public class JobProcessData
{
    private long startTime;
    private String startTm;
    private boolean resultFlag;
    private ShardingContext context;
    private boolean skip;
    private String bizDate;
    private String shardingDbSet;
    private List<String> shardingDbItem;
    private List<Integer> shardingDbNo;
    private boolean identmentResult;
    
    public JobProcessData() {
        this.resultFlag = false;
        this.skip = false;
        this.identmentResult = false;
    }
    
    public long getStartTime() {
        return this.startTime;
    }
    
    public String getStartTm() {
        return this.startTm;
    }
    
    public boolean isResultFlag() {
        return this.resultFlag;
    }
    
    public ShardingContext getContext() {
        return this.context;
    }
    
    public boolean isSkip() {
        return this.skip;
    }
    
    public String getBizDate() {
        return this.bizDate;
    }
    
    public String getShardingDbSet() {
        return this.shardingDbSet;
    }
    
    public List<String> getShardingDbItem() {
        return this.shardingDbItem;
    }
    
    public List<Integer> getShardingDbNo() {
        return this.shardingDbNo;
    }
    
    public boolean isIdentmentResult() {
        return this.identmentResult;
    }
    
    public void setStartTime(final long startTime) {
        this.startTime = startTime;
    }
    
    public void setStartTm(final String startTm) {
        this.startTm = startTm;
    }
    
    public void setResultFlag(final boolean resultFlag) {
        this.resultFlag = resultFlag;
    }
    
    public void setContext(final ShardingContext context) {
        this.context = context;
    }
    
    public void setSkip(final boolean skip) {
        this.skip = skip;
    }
    
    public void setBizDate(final String bizDate) {
        this.bizDate = bizDate;
    }
    
    public void setShardingDbSet(final String shardingDbSet) {
        this.shardingDbSet = shardingDbSet;
    }
    
    public void setShardingDbItem(final List<String> shardingDbItem) {
        this.shardingDbItem = shardingDbItem;
    }
    
    public void setShardingDbNo(final List<Integer> shardingDbNo) {
        this.shardingDbNo = shardingDbNo;
    }
    
    public void setIdentmentResult(final boolean identmentResult) {
        this.identmentResult = identmentResult;
    }
    
    @Override
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof JobProcessData)) {
            return false;
        }
        final JobProcessData other = (JobProcessData)o;
        if (!other.canEqual(this)) {
            return false;
        }
        if (this.getStartTime() != other.getStartTime()) {
            return false;
        }
        final Object this$startTm = this.getStartTm();
        final Object other$startTm = other.getStartTm();
        Label_0079: {
            if (this$startTm == null) {
                if (other$startTm == null) {
                    break Label_0079;
                }
            }
            else if (this$startTm.equals(other$startTm)) {
                break Label_0079;
            }
            return false;
        }
        if (this.isResultFlag() != other.isResultFlag()) {
            return false;
        }
        final Object this$context = this.getContext();
        final Object other$context = other.getContext();
        Label_0129: {
            if (this$context == null) {
                if (other$context == null) {
                    break Label_0129;
                }
            }
            else if (this$context.equals(other$context)) {
                break Label_0129;
            }
            return false;
        }
        if (this.isSkip() != other.isSkip()) {
            return false;
        }
        final Object this$bizDate = this.getBizDate();
        final Object other$bizDate = other.getBizDate();
        Label_0179: {
            if (this$bizDate == null) {
                if (other$bizDate == null) {
                    break Label_0179;
                }
            }
            else if (this$bizDate.equals(other$bizDate)) {
                break Label_0179;
            }
            return false;
        }
        final Object this$shardingDbSet = this.getShardingDbSet();
        final Object other$shardingDbSet = other.getShardingDbSet();
        Label_0216: {
            if (this$shardingDbSet == null) {
                if (other$shardingDbSet == null) {
                    break Label_0216;
                }
            }
            else if (this$shardingDbSet.equals(other$shardingDbSet)) {
                break Label_0216;
            }
            return false;
        }
        final Object this$shardingDbItem = this.getShardingDbItem();
        final Object other$shardingDbItem = other.getShardingDbItem();
        Label_0253: {
            if (this$shardingDbItem == null) {
                if (other$shardingDbItem == null) {
                    break Label_0253;
                }
            }
            else if (this$shardingDbItem.equals(other$shardingDbItem)) {
                break Label_0253;
            }
            return false;
        }
        final Object this$shardingDbNo = this.getShardingDbNo();
        final Object other$shardingDbNo = other.getShardingDbNo();
        if (this$shardingDbNo == null) {
            if (other$shardingDbNo == null) {
                return this.isIdentmentResult() == other.isIdentmentResult();
            }
        }
        else if (this$shardingDbNo.equals(other$shardingDbNo)) {
            return this.isIdentmentResult() == other.isIdentmentResult();
        }
        return false;
    }
    
    protected boolean canEqual(final Object other) {
        return other instanceof JobProcessData;
    }
    
    @Override
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final long $startTime = this.getStartTime();
        result = result * 59 + (int)($startTime >>> 32 ^ $startTime);
        final Object $startTm = this.getStartTm();
        result = result * 59 + (($startTm == null) ? 43 : $startTm.hashCode());
        result = result * 59 + (this.isResultFlag() ? 79 : 97);
        final Object $context = this.getContext();
        result = result * 59 + (($context == null) ? 43 : $context.hashCode());
        result = result * 59 + (this.isSkip() ? 79 : 97);
        final Object $bizDate = this.getBizDate();
        result = result * 59 + (($bizDate == null) ? 43 : $bizDate.hashCode());
        final Object $shardingDbSet = this.getShardingDbSet();
        result = result * 59 + (($shardingDbSet == null) ? 43 : $shardingDbSet.hashCode());
        final Object $shardingDbItem = this.getShardingDbItem();
        result = result * 59 + (($shardingDbItem == null) ? 43 : $shardingDbItem.hashCode());
        final Object $shardingDbNo = this.getShardingDbNo();
        result = result * 59 + (($shardingDbNo == null) ? 43 : $shardingDbNo.hashCode());
        result = result * 59 + (this.isIdentmentResult() ? 79 : 97);
        return result;
    }
    
    @Override
    public String toString() {
        return "JobProcessData(startTime=" + this.getStartTime() + ", startTm=" + this.getStartTm() + ", resultFlag=" + this.isResultFlag() + ", context=" + this.getContext() + ", skip=" + this.isSkip() + ", bizDate=" + this.getBizDate() + ", shardingDbSet=" + this.getShardingDbSet() + ", shardingDbItem=" + this.getShardingDbItem() + ", shardingDbNo=" + this.getShardingDbNo() + ", identmentResult=" + this.isIdentmentResult() + ")";
    }
}
